<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

    <table>
        <tr>
            <th>ID</th>
            <th>NAME</th>
            <th>SALARY</th>
            <th>DELETE</th>
            <th>EDIT</th>
        </tr>
        <tbody th:if="${#lists.isEmpty(employeeList)}">
            <tr>
                <td colspan="5">抱歉！没有查询到你需要的数据！</td>
            </tr>
        </tbody>
        <tbody th:if="${not #lists.isEmpty(employeeList)}">
            <tr th:each="employee : ${employeeList}">
                <td th:text="${employee.empId}"></td>
                <td th:text="${employee.empName}"></td>
                <td th:text="${employee.empSalary}"></td>
                <td>删除</td>
                <td>编辑</td>
            </tr>
        </tbody>
        <tr>
            <td>添加新数据</td>
        </tr>
    </table>

</body>
</html>